﻿namespace CXW.Core
{
    /// <summary></summary>
    public abstract class AbstractMenuCommand : AbstractCommand, IMenuCommand
    {
        bool isEnabled = true;

        public virtual bool IsEnabled
        {
            get { return isEnabled; }
            set { isEnabled = value; }
        }
        /// <summary>ToolTip提示信息</summary>
        public virtual string InfoTip { get; set; }
        /// <summary>资源文件资源名称</summary>
        public virtual string Language { set; get; }
        /// <summary>执行参数</summary>
        public virtual string Args { set; get; }
        /// <summary>配置文件名称</summary>
        public virtual string CfgName { set; get; }
        /// <summary>默认 UI 显示文字</summary>
        public virtual string Label { set; get; }
        /// <summary><see cref="Codon.Id"/></summary>
        public virtual string CodonId { set; get; }
    }
}
